	 
	export default function recordVioce(){
	const recorderManager = uni.getRecorderManager();
	const innerAudioContext = uni.createInnerAudioContext();
	const text='uni-app'
	const voicePath='' 
	innerAudioContext.autoplay = true;
	 	
	 		recorderManager.onStop(function (res) {
	 			console.log('recorder stop' + JSON.stringify(res));
	 			voicePath = res.tempFilePath;
	 		});
	 
	
	 			recorderManager.start();
	 		
	 	
	 			recorderManager.stop();
	 		
	 
	 
	 			if (this.voicePath) {
	 				innerAudioContext.src = this.voicePath;
	 				innerAudioContext.play();
	 			}
	 		
	 	
	 
}
	
	